package com.jymj.service;

import com.jymj.entity.zjd.ZjdCountEntity;
import com.jymj.entity.zjd.ZjdTcEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by dl on 2019/10/15.
 */
public interface ExitService {
    List<ZjdTcEntity> queryList(Map<String, Object> params);

    int queryTotal(Map<String, Object> params);

    void save(ZjdTcEntity zjdTcEntity);

    int update(ZjdTcEntity zjdTcEntity);

    ZjdTcEntity queryObject(Integer id);

    boolean queryAllFile(Integer status, List<Integer> zjdTcFileIds);

    ZjdTcEntity queryObjectByylId(Integer objectid);

    boolean queryCount(Integer sptype, Integer id);

    List<ZjdTcEntity> queryListById(Integer[] ids);

    void deleteBatch(Integer[] ids);

    void updateYl(Integer ylId, Integer sptype);

    void updateYlAll(Integer[] ids, Integer sptype);

    List<ZjdTcEntity> queryTypeCount(String xzqmc, Integer type);

    ZjdCountEntity queryAllCount(String point, String code);
}
